﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="NewTopic.aspx.cs" Inherits="WebRole1.NewTopic" MaintainScrollPositionOnPostback="true" ValidateRequest="false" %>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

				<asp:Table
					ID="tblMessages"
					runat="server"
					EnableViewState="false"
					Font-Names="Arial"
					Font-Size="10pt" CellPadding="0" CellSpacing="0">
				</asp:Table>
				
				
				<asp:Table
					ID="Table1"
					runat="server"
					EnableViewState="false"
					Font-Names="Arial"
					Font-Size="10pt" CellPadding="0" CellSpacing="0" Width="616px">
					
					<asp:TableRow>
						<asp:TableCell>
							<asp:Label ID="Label1" runat="server">Topic title:</asp:Label>
						</asp:TableCell>
						
						<asp:TableCell>
							<asp:TextBox ID="txtTitle" runat="server" Width="700px"></asp:TextBox>
						</asp:TableCell>
						
					</asp:TableRow>
					
					<asp:TableRow>
						<asp:TableCell>
							<asp:Label ID="Label2" runat="server">Your message:</asp:Label>
						</asp:TableCell>
						
						<asp:TableCell>
							<asp:TextBox ID="txtMsg" TextMode="MultiLine" runat="server" Height="143px" Width="700px"></asp:TextBox>
						</asp:TableCell>
						
					</asp:TableRow>
					
					<asp:TableRow>
						<asp:TableCell>
							<asp:Label ID="lblUsername" runat="server">Username:</asp:Label>
						</asp:TableCell>
						
						<asp:TableCell>
							<asp:TextBox ID="txtUsername" runat="server" Width="700px" MaxLength="15"></asp:TextBox>
						</asp:TableCell>
						
					</asp:TableRow>
					
					<asp:TableRow>
						<asp:TableCell ColumnSpan="2">
							<asp:Label ID="lblError" runat="server" CssClass="Default" ForeColor="Red" Font-Bold="true"></asp:Label>
						</asp:TableCell>
					</asp:TableRow>

					<asp:TableRow>
						<asp:TableCell>
						</asp:TableCell>

						<asp:TableCell>
							<%--<asp:button id="btnPreview" runat="server" Text="Preview" onclick="btnPreview_Click"></asp:button>--%>
								
							<asp:button id="btnSubmit" runat="server" Text="Submit message" onclick="btnSubmit_Click"></asp:button>
						</asp:TableCell>
						
					</asp:TableRow>

				</asp:Table>
				
</asp:Content>